<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Connect to Solflare Wallet</title>
    <script src="https://solflare.com/embed.js"></script>
</head>
<body>
<h1>Connect to Solflare Wallet</h1>
<button id="connectButton">Connect to Solflare Wallet</button>

<script>
    document.getElementById("connectButton").addEventListener("click", function() {
        window.solflare.connect(); // 调用 Solflare 钱包的连接函数
    });
</script>
</body>
</html>
